package com.wei.czz.common.vo.blog.audit.group;

import com.wei.czz.common.jsr303.group.Save;
import com.wei.czz.common.jsr303.group.Update;
import com.wei.czz.common.tool.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2024-12-05 09:44:58
 * className: BlogAuditGroupVo
 * version: 1.0
 * description:
 */
@Getter
@Setter
public class BlogAuditGroupVo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { Update.class })
    private Long id;

    /**
     * 名称
     */
    @NotBlank(message = "名称不能为空", groups = { Save.class, Update.class })
    private String name;

    /**
     * 审核类型【0-新博客审核 1-博客修改审核 2-博客申诉审核】
     */
    @NotNull(message = "审核类型不能为空", groups = { Save.class })
    private Integer auditType;

    /**
     * 审核级别【0-一审  1-二审】
     */
    @NotNull(message = "审核级别不能为空", groups = { Save.class })
    private Integer auditLevel;

}
